﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace MyClever.Lib
{
    class PluginLoader // Director in Builder pattern
    {
        // Builder uses a complex series of steps
        public PluginLoader(PluginBuilder pluginBuilder)
        {           
            pluginBuilder.ExtractProperties();
            pluginBuilder.ExtractPackages();

            Debug.Assert(pluginBuilder.Properties.Count > 1);
        }
    }
}
